﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BacklogParser.Models
{
    public class Applicant : AddressBook
    {
        public Applicant()
        {

        }

        public string AppType { get; internal set; }
        public string ChangeDate { get; set; }
        public string ChangeGazetteNum { get; set; }
        public string Designation { get; internal set; }
        public string Sequence { get; set; }

        public static Applicant Create(AddressBook a)
        {
            return new Applicant
            {
                CdsId = a.CdsId,
                Name = a.Name,
                Address1 = a.Address1,
                Address2 = a.Address2,
                Address3 = a.Address3,
                Address4 = a.Address4,
                Address5 = a.Address5,

                Country = a.Country
            };
        }

    }
}
